<?php
		
	/* SVN FILE: $Id: login.php 12 2011-03-14 13:34:57Z michele.andreoletti@gmail.com $ */
	
	/**
	 * Project Name : arcadia
	 *
	 * @author $Author: michele.andreoletti@gmail.com $
	 * @version $Revision: 12 $
	 * @lastrevision $Date: 2011-03-14 13:34:57 +0000 (Mon, 14 Mar 2011) $
	 * @filesource $URL: http://arcadia.googlecode.com/svn/trunk/global/login.php $
	 */

	if (isset($_GET['sRedirect'])) {
		$sRedirect = trim($_GET['sRedirect']);
		foreach ($_GET as $sKey => $sValue) {
			$sValue = (string)$sValue;
			if ($sKey != 'sRedirect' && $sValue != '') {
				$sRedirect .="&".$sKey."=".$sValue;
			}
		}	
	}
	header ("Location: ../login.php?sRedirect=$sRedirect");
	die();
?>